package com.lindroy.androidplayer.ui.adapter

import androidx.fragment.app.Fragment
import com.lindroy.androidplayer.base.adapter.BaseTabAdapter
import com.lindroy.androidplayer.ui.officialaccount.WxArticlesFragment

/**
 * @author Lin
 * @date 2022/1/22
 * @function 主页面公众号-Tab-Adapter
 */
class WxTabAdapter(fragment: Fragment) : BaseTabAdapter<Int>(fragment) {
    override fun createItemFragment(item: Int): Fragment = WxArticlesFragment.create(item)
}